var a=document.querySelectorAll("._1doh9_Go")

for (i = 0; i < a.length; i++) {

 console.log("http://mobile.yangkeduo.com/goods.html?goods_id="+a[i].getAttribute("data-ranking-goods-id"))

 }
 ----------------------------延伸出更简洁的代码--------------------------------------------------
var ids = new Array();
var a = document.querySelectorAll("._1doh9_Go");
for (i = 0; i < a.length; i++) {
    ids.push("http://mobile.yangkeduo.com/goods.html?goods_id=" + a[i].getAttribute("data-ranking-goods-id"))
};
ids 

------------------------------------------------------------------------------------------------
/*
https://mobile.yangkeduo.com/sjs_cat_rank_list.html?list_id=58572010301&activeTab=0
用浏览器打开运行JavaScript脚本
*/


# 拼多多商品链接【搜索页】
var a=document.querySelectorAll(".gid")
for (i = 0; i < a.length; i++) {
 console.log(a[i].querySelector("a")['href'])
 }
需要配合多多查分析工具插件才能使用